﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bluyel.Core
{
    //TODO: déplacer, pas au bon endroit
    // dans dossier DataNamed
    public enum VarOrConst
    {
        Var,
        Const,
    }

    /// <summary>
    /// A named data: a var or a const.
    /// 
    /// Has a type.
    /// </summary>
    public interface IDataNamed
    {
        // set to true for constant
        //bool IsConst { get; }
        VarOrConst VarOrConst { get; }

        string Name { get; set; }

        // type can be: basic, LOV, PhysicalQty, RefTo, DataStruct,...
        IType Type { get; set; }
    }
}
